package com.wish.wishsystem_management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.wishsystem_management.entity.TbConfigUserBusinessCircle;

import java.util.List;

/**
 * <p>
 * 用户商圈表 服务类
 * </p>
 *
 * @author zhaiwj
 * @since 2021-03-22
 */
public interface ITbConfigUserBusinessCircleService extends IService<TbConfigUserBusinessCircle> {

    List<Long> queryBusinessCircleIdList(Long userId);

    /**
     * 保存和修改用户和商圈
     *
     * @param userId
     * @param businessCircleIdList
     */
    void saveOrUpdate(Long userId, List<Long> businessCircleIdList);

    void deleteBatch(Long[] userIds);
}
